package com.cac.demo.entity.wmsItemInventory;

import com.cac.demo.entity.msWorkbinMaterial.MsWorkbinMaterialDTO;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;

/**
 * @program test-curd
 * @description 库存台账表实体
 * @author: LSL
 * @create: 2022-08-27-11-03
 **/
public class WmsItemInventoryDTO {

    //序号
    private int rn;
    //台账ID
    private String wmsItemInventoryId;
    //质量编号表ID
    private String wmsQualityInfoId;
    //创建事务ID
    private String createWmsItemTransactionId;
    //库房ID ^
    private String wmsInventoryId;
    //库位ID ^
    private String wmsLocatorId;
    //库存状态 ^ 0 可用,1报废,2冻结 3故障
    private String inventoryStatus;
    //物料编码
    private String itemCode;
    //质量编号 ^ 用于控制产品质量及性能的产品质量检验编号。0表示此物料不需要质量跟踪
    private String qualityCode;
    //当前期段结存数量 ^
    private double currentOnHandQty;
    //非离库占用数量
    private double engagedQty;
    //离库占用数量
    private double takeAwayEngagedQty;
    //机型编码
    private String productCode;
    //批次号
    private String batchNo;
    //起始架次
    private int startLotNo;
    //截止架次
    private int endLotNo;
    //入库日期
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GTM-8")
    private String inventoryDate;
    //入库人工号
    private String inEmpCode;
    //创建人
    private String createdBy;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GTM-8")
    private Date creationDate;
    //最后修改人
    private String lastUpdatedBy;
    //最后修改时间
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GTM-8")
    private Date lastUpdateDate;
    //最后更新IP
    private String lastUpdateIp;
    //版本
    private  String version;
    //件数·
    private Integer matCount;
    //交接单id
    private String wmsDeliveryPlanId;
    //缓存箱物料信息表结果集
    private List<MsWorkbinMaterialDTO> msWorkbinMaterialDTOList;

    //是否装配退返
    private String isAssReback;
    //是否为在制品退库
    private String isReturnDeatial;
    //计量单位
    private String mdsUnitId;
    //物料id
    private String mdsItemId;
    //供应商ID
    private String srmSupplyId;
    //物料条码
    private String barcode;
    //成品父图号
    private String parentItemCode;
    //父型号
    private String mParentNumber;
    //型号
    private String mProductNumber;
    //油封期
    private String sealDate;
    //质保期
    private String ensureDate;
    //最大保存期
    private String maxStorageDate;
    //库存数量状态，用作条件查询
    private Integer restCount;

    public Integer getRestCount() {
        return restCount;
    }

    public void setRestCount(Integer restCount) {
        this.restCount = restCount;
    }

    public String getBarcode() {
        return barcode;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }

    public String getParentItemCode() {
        return parentItemCode;
    }

    public void setParentItemCode(String parentItemCode) {
        this.parentItemCode = parentItemCode;
    }

    public String getmParentNumber() {
        return mParentNumber;
    }

    public void setmParentNumber(String mParentNumber) {
        this.mParentNumber = mParentNumber;
    }

    public String getmProductNumber() {
        return mProductNumber;
    }

    public void setmProductNumber(String mProductNumber) {
        this.mProductNumber = mProductNumber;
    }

    public String getSealDate() {
        return sealDate;
    }

    public void setSealDate(String sealDate) {
        this.sealDate = sealDate;
    }

    public String getEnsureDate() {
        return ensureDate;
    }

    public void setEnsureDate(String ensureDate) {
        this.ensureDate = ensureDate;
    }

    public String getMaxStorageDate() {
        return maxStorageDate;
    }

    public void setMaxStorageDate(String maxStorageDate) {
        this.maxStorageDate = maxStorageDate;
    }

    public String getSrmSupplyId() {
        return srmSupplyId;
    }

    public void setSrmSupplyId(String srmSupplyId) {
        this.srmSupplyId = srmSupplyId;
    }

    public int getRn() {
        return rn;
    }

    public void setRn(int rn) {
        this.rn = rn;
    }

    public String getWmsItemInventoryId() {
        return wmsItemInventoryId;
    }

    public void setWmsItemInventoryId(String wmsItemInventoryId) {
        this.wmsItemInventoryId = wmsItemInventoryId;
    }

    public String getWmsQualityInfoId() {
        return wmsQualityInfoId;
    }

    public void setWmsQualityInfoId(String wmsQualityInfoId) {
        this.wmsQualityInfoId = wmsQualityInfoId;
    }

    public String getCreateWmsItemTransactionId() {
        return createWmsItemTransactionId;
    }

    public void setCreateWmsItemTransactionId(String createWmsItemTransactionId) {
        this.createWmsItemTransactionId = createWmsItemTransactionId;
    }

    public String getWmsInventoryId() {
        return wmsInventoryId;
    }

    public void setWmsInventoryId(String wmsInventoryId) {
        this.wmsInventoryId = wmsInventoryId;
    }

    public String getWmsLocatorId() {
        return wmsLocatorId;
    }

    public void setWmsLocatorId(String wmsLocatorId) {
        this.wmsLocatorId = wmsLocatorId;
    }

    public String getInventoryStatus() {
        return inventoryStatus;
    }

    public void setInventoryStatus(String inventoryStatus) {
        this.inventoryStatus = inventoryStatus;
    }

    public String getItemCode() {
        return itemCode;
    }

    public void setItemCode(String itemCode) {
        this.itemCode = itemCode;
    }

    public String getQualityCode() {
        return qualityCode;
    }

    public void setQualityCode(String qualityCode) {
        this.qualityCode = qualityCode;
    }

    public double getCurrentOnHandQty() {
        return currentOnHandQty;
    }

    public void setCurrentOnHandQty(double currentOnHandQty) {
        this.currentOnHandQty = currentOnHandQty;
    }

    public double getEngagedQty() {
        return engagedQty;
    }

    public void setEngagedQty(double engagedQty) {
        this.engagedQty = engagedQty;
    }

    public double getTakeAwayEngagedQty() {
        return takeAwayEngagedQty;
    }

    public void setTakeAwayEngagedQty(double takeAwayEngagedQty) {
        this.takeAwayEngagedQty = takeAwayEngagedQty;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }

    public int getStartLotNo() {
        return startLotNo;
    }

    public void setStartLotNo(int startLotNo) {
        this.startLotNo = startLotNo;
    }

    public int getEndLotNo() {
        return endLotNo;
    }

    public void setEndLotNo(int endLotNo) {
        this.endLotNo = endLotNo;
    }

    public String getInventoryDate() {
        return inventoryDate;
    }

    public void setInventoryDate(String inventoryDate) {
        this.inventoryDate = inventoryDate;
    }

    public String getInEmpCode() {
        return inEmpCode;
    }

    public void setInEmpCode(String inEmpCode) {
        this.inEmpCode = inEmpCode;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdateDate() {
        return lastUpdateDate;
    }

    public void setLastUpdateDate(Date lastUpdateDate) {
        this.lastUpdateDate = lastUpdateDate;
    }

    public String getLastUpdateIp() {
        return lastUpdateIp;
    }

    public void setLastUpdateIp(String lastUpdateIp) {
        this.lastUpdateIp = lastUpdateIp;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public Integer getMatCount() {
        return matCount;
    }

    public void setMatCount(Integer matCount) {
        this.matCount = matCount;
    }

    public List<MsWorkbinMaterialDTO> getMsWorkbinMaterialDTOList() {
        return msWorkbinMaterialDTOList;
    }

    public void setMsWorkbinMaterialDTOList(List<MsWorkbinMaterialDTO> msWorkbinMaterialDTOList) {
        this.msWorkbinMaterialDTOList = msWorkbinMaterialDTOList;
    }

    public String getWmsDeliveryPlanId() {
        return wmsDeliveryPlanId;
    }

    public void setWmsDeliveryPlanId(String wmsDeliveryPlanId) {
        this.wmsDeliveryPlanId = wmsDeliveryPlanId;
    }

    public String getIsAssReback() {
        return isAssReback;
    }

    public void setIsAssReback(String isAssReback) {
        this.isAssReback = isAssReback;
    }

    public String getIsReturnDeatial() {
        return isReturnDeatial;
    }

    public void setIsReturnDeatial(String isReturnDeatial) {
        this.isReturnDeatial = isReturnDeatial;
    }

    public String getMdsUnitId() {
        return mdsUnitId;
    }

    public void setMdsUnitId(String mdsUnitId) {
        this.mdsUnitId = mdsUnitId;
    }

    public String getMdsItemId() {
        return mdsItemId;
    }

    public void setMdsItemId(String mdsItemId) {
        this.mdsItemId = mdsItemId;
    }
}
